package me.zhengjie.poemQuestions.domain.model;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;
import java.util.List;
import me.zhengjie.poemQuestions.domain.enums.QuestionType;
/**
 * 诗词题库数据传输模型
 */
@Data
public class PoemQuestionModel {

    @ApiModelProperty("问题ID")
    private Integer questionId;

    @ApiModelProperty("题干内容")
    private String question;

    @ApiModelProperty("选项列表，单选题使用")
    private List<String> options;

    @ApiModelProperty("正确答案")
    private String correctAnswer;

    @ApiModelProperty("来源")
    private String source;

    @ApiModelProperty("难度等级")
    private Integer difficulty;

    @ApiModelProperty("类别")
    private String category;

    @ApiModelProperty("题目类型")
    private QuestionType type;

    @ApiModelProperty("创建时间")
    private Timestamp createdAt;

    @ApiModelProperty("更新时间")
    private Timestamp updatedAt;
}
